package com.settlement.system.service;

import com.settlement.system.model.entity.SysUserFlow;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.settlement.system.model.query.SysUserFlowQuery;
import com.settlement.system.model.form.SysUserFlowForm;
import com.settlement.system.model.vo.SysUserFlowImportVo;
import com.settlement.system.model.vo.SysUserFlowVo;

import java.util.List;

/**
 * <p>
 * 用户流程表 服务类
 * </p>
 *
 * @author huangrensen
 * @since 2023-12-28
 */
public interface SysUserFlowService extends IService<SysUserFlow> {

    Page<SysUserFlowVo> getPage(SysUserFlowQuery queryParams);

    boolean saveSysUserFlow(SysUserFlowForm sysUserFlowForm);

    SysUserFlowForm getSysUserFlowFormData(Long id);

    boolean deleteSysUserFlow(String ids);

    void importData(List<SysUserFlowImportVo> importVos);

    List<SysUserFlowImportVo> findByIds(String idsStr);

    void linkFlow(Long flowId, Long userId);


}
